package com.geyue.core.model;

import com.geyue.common.base.model.Model;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * 学生
 * Created by Lyon on 2017/4/20.
 */
@Data
@Table(name = "student")
public class Student extends Model {

    private Integer id;
    //昵称
    private String nickname;
    //头像
    @Column(name = "head_url")
    private String headUrl;
    //性别 0:女 1:男
    private Integer sex;
    //年龄
    private Integer age;
    //姓名
    private String name;
    //身份证
    private String idcard;
    //生日
    private Date birthday;
    //QQ
    private String qq;
    //微信
    private String wechat;
    //地址
    private String area;
    //兴趣爱好
    private String hobby;
    //电话
    private String tel;
    //密码
    private String password;
    //添加时间
    @Column(name = "add_time")
    private Date addTime;
}
